package cn.edu.nit.sys.service;

import cn.edu.nit.sys.entity.Employee;
import cn.edu.nit.sys.utils.R;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.security.core.parameters.P;

/**
 * @Author xiaobai
 * @Date 2022/9/26 21:34
 * @Version 1.0.0
 */
public interface EmployeeService extends IService<Employee> {

    R getList(Page<Employee> page, String name, Integer type);

    R getType();

    R addEmployee(Employee employee);

    R updateEmployee(Employee employee);

    R delEmployee(Long id);

    R getEmpByType();
}
